Skip to content

Conversation

@nodece
Copy link
Member

@nodece nodece commented Feb 5, 2025

Motivation

This PR is based on #23905 and is used to fix the TLS context loss.

Modifications

  • Add org.apache.pulsar.client.api.Authentication#authenticationStage(javax.ws.rs.client.WebTarget, org.apache.pulsar.client.api.AuthenticationDataProvider, java.util.Map<java.lang.String,java.lang.String>, java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,java.lang.String>>) instead of org.apache.pulsar.client.api.Authentication#authenticationStage(java.lang.String, org.apache.pulsar.client.api.AuthenticationDataProvider, java.util.Map<java.lang.String,java.lang.String>, java.util.concurrent.CompletableFuture<java.util.Map<java.lang.String,java.lang.String>>) in the org.apache.pulsar.client.api.Authentication, and fix call.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Feb 5, 2025
Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change in the org.apache.pulsar.client.api.Authentication API that is exposed for plugins to implement.
There should be a PIP in place and the implementation should be made in a backwards compatible way.
It should be possible to add conditional logic when the Authentication instance implements some other interface which is for handling this particular case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants